package com.eight.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eight.pojo.TbCoupon;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: TODO
 * @Author: Van.Planifolia
 * @CreateTime: 2023-02-28  16:02
 * @Version: 1.0
 */
@Mapper
public interface CouponMapper extends BaseMapper<TbCoupon> {

    /**
     * 模糊分页查询分页信息
     * @param page 分页信息
     * @param tbCoupon 查询条件
     * @return 查询的结果
     */
    Page<TbCoupon> fuzzyPage(Page<TbCoupon> page, @Param("tbCoupon") TbCoupon tbCoupon);
}
